FUNCTION
Adjust the maximum value for a slider object.